package com.xunk.equipment.config;


import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

@Component
@Slf4j
public class WebsocketConfig {
    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        log.info("初始化websocket server endpoint");
        return new ServerEndpointExporter();
    }
}
